Skip to content

Refactor Int Types #4061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Refactor Int Types #4061

wants to merge 7 commits into from

Conversation

G-Moris
Copy link
Contributor

@G-Moris G-Moris commented Mar 2, 2025

No description provided.

@G-Moris G-Moris marked this pull request as draft March 2, 2025 08:43
@G-Moris G-Moris changed the title Refactor SharedUtil.IntTypes.h Refactor Int Types Mar 2, 2025
@G-Moris G-Moris marked this pull request as ready for review March 2, 2025 09:10
typedef unsigned short ushort; // 16
typedef unsigned char uchar; // 8
using ulong = unsigned long; // 32 32 64
using uint = std::uint32_t; // 32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change doesn't look safe for x64 server

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change doesn't look safe for x64 server

In general, everything is fine, if you have accurate thoughts about a possible problem, I will take note.

@botder
Copy link
Member

botder commented May 26, 2025

I am not going to merge this because it might cause unforeseen bugs. I would instead welcome PRs that replace usage of these types with types from <cstdint>.

@botder botder closed this May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants